<script setup>
import { reactive } from "vue";

const formData = reactive({
  username: "",
  password: "",
});
</script>

<template>
  <uv-form>
    <uv-form-item label="用户名">
      <uv-input v-model="formData.username" placeholder="请输入用户名"/>
    </uv-form-item>
    <uv-form-item label="密码">
      <uv-input v-model="formData.password" placeholder="请输入密码"/>
    </uv-form-item>
  </uv-form>
  <view>点击登录</view>
</template>

<style scoped>

</style>